import request from '@/utils/request'

// 查询评价类型二级列表
export function listBiCommentSecondDwd(query) {
  return request({
    url: '/comment/BiCommentSecondDwd/list',
    method: 'get',
    params: query
  })
}

// 查询评价类型二级详细
export function getBiCommentSecondDwd(id) {
  return request({
    url: '/comment/BiCommentSecondDwd/' + id,
    method: 'get'
  })
}

// 新增评价类型二级
export function addBiCommentSecondDwd(data) {
  return request({
    url: '/comment/BiCommentSecondDwd',
    method: 'post',
    data: data
  })
}

// 修改评价类型二级
export function updateBiCommentSecondDwd(data) {
  return request({
    url: '/comment/BiCommentSecondDwd',
    method: 'put',
    data: data
  })
}

// 删除评价类型二级
export function delBiCommentSecondDwd(id) {
  return request({
    url: '/comment/BiCommentSecondDwd/' + id,
    method: 'delete'
  })
}
